package com.itdct.onflow.system.file.manager.upload

import com.itdct.onflow.system.file.entity.SysFileEntity
import java.io.File
import java.io.InputStream

/**
 * @author Zhouwx
 * @date 2025/9/24 10:34:31
 * @version 1.0
 * @description
 */
interface BaseFileTransfer {
    fun upload(sysFileEntity: SysFileEntity, file: File, deleteAfterUpload: Boolean = false)

    fun download(storePath: String): InputStream

    fun delete(sysFileEntity: SysFileEntity)

    fun getType(): String
}